Skip to content

ci: add GitHub Actions workflow for testing and linting#8

Merged
krisoye13 merged 5 commits intomainfrom
feature/add-ci-workflow
Feb 2, 2026
Merged

ci: add GitHub Actions workflow for testing and linting#8
krisoye13 merged 5 commits intomainfrom
feature/add-ci-workflow

Conversation

@krisoye
Copy link
Copy Markdown
Owner

@krisoye krisoye commented Feb 2, 2026

Summary

Add CI/CD pipeline to automatically run tests and linting on all PRs and pushes to main.

Workflow Features

Test Job:

  • Runs on Python 3.10, 3.11, and 3.12 (matrix build)
  • Installs package with dev dependencies
  • Runs pytest with coverage reporting
  • Uploads coverage to Codecov (optional, won't fail if unavailable)

Lint Job:

  • Runs ruff linter (ruff check)
  • Runs ruff formatter check (ruff format --check)

Triggers

  • Push to main branch
  • All pull requests

Test plan

  • YAML syntax is valid
  • Workflow runs successfully on this PR (will verify after merge)

🤖 Generated with Claude Code

krisoye13 and others added 5 commits February 1, 2026 21:36
- Run pytest with coverage on Python 3.10, 3.11, 3.12
- Upload coverage to Codecov (optional)
- Run ruff linter and formatter checks
- Triggers on push to main and all PRs

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Explicitly install pytest-cov (not in pyproject.toml dev deps)
- Make ruff format check non-blocking until codebase is formatted

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
QA Review Fixes:
- Add pytest-cov>=4.0.0 to pyproject.toml dev dependencies
- Remove explicit pytest-cov install from workflow
- Run ruff format on entire codebase (6 files reformatted)
- Remove continue-on-error from format check (no longer needed)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Remove unused imports (pytest, time, APIStatusError)
- Rename unused loop variables (_doc_type, _processor, _summary)
- Format test files with ruff

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@krisoye13 krisoye13 merged commit b311be3 into main Feb 2, 2026
4 checks passed
@krisoye krisoye deleted the feature/add-ci-workflow branch February 5, 2026 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants